<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>gamelily  v0.0.1 API documentation | lily.time.Clock</title>
  <meta name="generator" content="PDoc" />
  
  <script charset="utf-8" src="../../../javascripts/pdoc/prototype.js" type="text/javascript"></script>
  <script charset="utf-8" src="../../../javascripts/pdoc/application.js" type="text/javascript"></script>
<script charset="utf-8" src="../../../javascripts/pdoc/tabs.js" type="text/javascript"></script>
  <script charset="utf-8" src="../../../javascripts/pdoc/item_index.js" type="text/javascript"></script>
  
  <link charset="utf-8" href="../../../stylesheets/pdoc/api.css" media="screen, projection" rel="stylesheet" type="text/css" />
<link charset="utf-8" href="../../../stylesheets/pdoc/pygments.css" media="screen, projection" rel="stylesheet" type="text/css" />
  
  <script type="text/javascript">
    PDoc.pathPrefix = '../../../';
  </script>
</head>
  <body>

    <div id="sidebar">
      <ul id="sidebar_tabs" class="sidebar-tabs">
        <li>
          <a href="#menu_pane">Menu</a>
        </li>
        <li>
          <a href="#search_pane">Search</a>
        </li>
      </ul> <!-- .sidebar-tabs -->

      <form class="search-ribbon">
        <label>
          <span class="hidden">Search</span>
          <input type="text" id="search" size="20" title="Search" />
        </label>
      </form>
      
      <div class="sidebar-pane scrollable" id="menu_pane">
        <ul class="menu-items" id="api_menu"><li><div class="menu-item"><a class="namespace current-parent" href="../../../lily/index.html" title="lily (namespace)">lily</a></div><ul><li><div class="menu-item"><a class="namespace" href="../../../lily/graphics/index.html" title="lily.graphics (namespace)">lily.graphics</a></div><ul><li><div class="menu-item"><a class="namespace" href="../../../lily/graphics/collider/index.html" title="lily.graphics.collider (namespace)">lily.graphics.collider</a></div></li>
<li><div class="menu-item"><a class="namespace" href="../../../lily/graphics/core/index.html" title="lily.graphics.core (namespace)">lily.graphics.core</a></div></li>
<li><div class="menu-item"><a class="class" href="../../../lily/graphics/Display/index.html" title="lily.graphics.Display (class)">lily.graphics.Display</a></div></li>
<li><div class="menu-item"><a class="namespace" href="../../../lily/graphics/dom/index.html" title="lily.graphics.dom (namespace)">lily.graphics.dom</a></div><ul><li><div class="menu-item"><a class="namespace" href="../../../lily/graphics/dom/anim/index.html" title="lily.graphics.dom.anim (namespace)">lily.graphics.dom.anim</a></div><ul><li><div class="menu-item"><a class="class" href="../../../lily/graphics/dom/anim/Morph/index.html" title="lily.graphics.dom.anim.Morph (class)">lily.graphics.dom.anim.Morph</a></div></li>
<li><div class="menu-item"><a class="class" href="../../../lily/graphics/dom/anim/Strip/index.html" title="lily.graphics.dom.anim.Strip (class)">lily.graphics.dom.anim.Strip</a></div></li></ul></li>
<li><div class="menu-item"><a class="namespace" href="../../../lily/graphics/dom/core/index.html" title="lily.graphics.dom.core (namespace)">lily.graphics.dom.core</a></div></li>
<li><div class="menu-item"><a class="class" href="../../../lily/graphics/dom/Font/index.html" title="lily.graphics.dom.Font (class)">lily.graphics.dom.Font</a></div></li>
<li><div class="menu-item"><a class="namespace" href="../../../lily/graphics/dom/font/index.html" title="lily.graphics.dom.font (namespace)">lily.graphics.dom.font</a></div></li>
<li><div class="menu-item"><a class="class" href="../../../lily/graphics/dom/Surface/index.html" title="lily.graphics.dom.Surface (class)">lily.graphics.dom.Surface</a></div></li></ul></li>
<li><div class="menu-item"><a class="class" href="../../../lily/graphics/Font/index.html" title="lily.graphics.Font (class)">lily.graphics.Font</a></div></li>
<li><div class="menu-item"><a class="namespace" href="../../../lily/graphics/font/index.html" title="lily.graphics.font (namespace)">lily.graphics.font</a></div></li>
<li><div class="menu-item"><a class="namespace" href="../../../lily/graphics/sprite/index.html" title="lily.graphics.sprite (namespace)">lily.graphics.sprite</a></div><ul><li><div class="menu-item"><a class="class" href="../../../lily/graphics/sprite/Sprite/index.html" title="lily.graphics.sprite.Sprite (class)">lily.graphics.sprite.Sprite</a></div></li>
<li><div class="menu-item"><a class="class" href="../../../lily/graphics/sprite/SpriteGroup/index.html" title="lily.graphics.sprite.SpriteGroup (class)">lily.graphics.sprite.SpriteGroup</a></div></li></ul></li>
<li><div class="menu-item"><a class="class" href="../../../lily/graphics/Surface/index.html" title="lily.graphics.Surface (class)">lily.graphics.Surface</a></div></li></ul></li>
<li><div class="menu-item"><a class="namespace" href="../../../lily/importer/index.html" title="lily.importer (namespace)">lily.importer</a></div></li>
<li><div class="menu-item"><a class="namespace" href="../../../lily/input/index.html" title="lily.input (namespace)">lily.input</a></div><ul><li><div class="menu-item"><a class="namespace" href="../../../lily/input/constants/index.html" title="lily.input.constants (namespace)">lily.input.constants</a></div></li>
<li><div class="menu-item"><a class="namespace" href="../../../lily/input/core/index.html" title="lily.input.core (namespace)">lily.input.core</a></div></li>
<li><div class="menu-item"><a class="namespace" href="../../../lily/input/Manager/index.html" title="lily.input.Manager (namespace)">lily.input.Manager</a></div></li></ul></li>
<li><div class="menu-item"><a class="namespace" href="../../../lily/logger/index.html" title="lily.logger (namespace)">lily.logger</a></div></li>
<li><div class="menu-item"><a class="namespace" href="../../../lily/preloader/index.html" title="lily.preloader (namespace)">lily.preloader</a></div><ul><li><div class="menu-item"><a class="class" href="../../../lily/preloader/AbstractResource/index.html" title="lily.preloader.AbstractResource (class)">lily.preloader.AbstractResource</a></div></li>
<li><div class="menu-item"><a class="class" href="../../../lily/preloader/ImageResource/index.html" title="lily.preloader.ImageResource (class)">lily.preloader.ImageResource</a></div></li>
<li><div class="menu-item"><a class="class" href="../../../lily/preloader/Loader/index.html" title="lily.preloader.Loader (class)">lily.preloader.Loader</a></div></li></ul></li>
<li><div class="menu-item"><a class="namespace" href="../../../lily/sm/index.html" title="lily.sm (namespace)">lily.sm</a></div><ul><li><div class="menu-item"><a class="namespace" href="../../../lily/sm/Application/index.html" title="lily.sm.Application (namespace)">lily.sm.Application</a></div></li>
<li><div class="menu-item"><a class="namespace" href="../../../lily/sm/core/index.html" title="lily.sm.core (namespace)">lily.sm.core</a></div></li>
<li><div class="menu-item"><a class="class" href="../../../lily/sm/GameScreen/index.html" title="lily.sm.GameScreen (class)">lily.sm.GameScreen</a></div></li>
<li><div class="menu-item"><a class="class" href="../../../lily/sm/State/index.html" title="lily.sm.State (class)">lily.sm.State</a></div></li>
<li><div class="menu-item"><a class="class" href="../../../lily/sm/Transition/index.html" title="lily.sm.Transition (class)">lily.sm.Transition</a></div></li></ul></li>
<li><div class="menu-item"><a class="namespace current-parent" href="../../../lily/time/index.html" title="lily.time (namespace)">lily.time</a></div><ul><li><div class="menu-item"><a class="class current" href="../../../lily/time/Clock/index.html" title="lily.time.Clock (class)">lily.time.Clock</a></div><ul><li><div class="menu-item"><a class="constructor" href="../../../lily/time/Clock/new/index.html" title="new lily.time.Clock (constructor)">new</a></div></li>
<li><div class="menu-item"><a class="instance-method" href="../../../lily/time/Clock/prototype/_tick/index.html" title="lily.time.Clock#_tick (instance method)">_tick</a></div></li>
<li><div class="menu-item"><a class="instance-method" href="../../../lily/time/Clock/prototype/changeFPS/index.html" title="lily.time.Clock#changeFPS (instance method)">changeFPS</a></div></li>
<li><div class="menu-item"><a class="instance-method" href="../../../lily/time/Clock/prototype/start/index.html" title="lily.time.Clock#start (instance method)">start</a></div></li>
<li><div class="menu-item"><a class="instance-method" href="../../../lily/time/Clock/prototype/stop/index.html" title="lily.time.Clock#stop (instance method)">stop</a></div></li>
<li><div class="menu-item"><a class="instance-property" href="../../../lily/time/Clock/prototype/_updater/index.html" title="lily.time.Clock#_updater (instance property)">_updater</a></div></li>
<li><div class="menu-item"><a class="instance-property" href="../../../lily/time/Clock/prototype/fps/index.html" title="lily.time.Clock#fps (instance property)">fps</a></div></li>
<li><div class="menu-item"><a class="instance-property" href="../../../lily/time/Clock/prototype/interval/index.html" title="lily.time.Clock#interval (instance property)">interval</a></div></li>
<li><div class="menu-item"><a class="instance-property" href="../../../lily/time/Clock/prototype/max_fps/index.html" title="lily.time.Clock#max_fps (instance property)">max_fps</a></div></li>
<li><div class="menu-item"><a class="instance-property" href="../../../lily/time/Clock/prototype/onTick/index.html" title="lily.time.Clock#onTick (instance property)">onTick</a></div></li></ul></li></ul><ul></ul></li>
<li><div class="menu-item"><a class="namespace" href="../../../lily/utils/index.html" title="lily.utils (namespace)">lily.utils</a></div></li></ul></li></ul><!--- #api_menu =-->
      </div> <!-- .sidebar-pane -->
      <div class="sidebar-pane" id="search_pane">
        <ul id="search_results" class="search-results menu-items scrollable"></ul>
      </div> <!-- .sidebar-pane -->
    </div> <!-- #sidebar -->

    <div id="page">
      

      <div id="main" class="page-content">
        





<ul class="breadcrumbs clearfix">
  <li><a href="../../../">Home</a></li>
  
    <li>&rarr; <a href="../../../lily/index.html" title="lily (namespace)">lily</a></li>
  
    <li>&rarr; <a href="../../../lily/time/index.html" title="lily.time (namespace)">time</a></li>
  
    <li>&rarr; <a href="../../../lily/time/Clock/index.html" title="lily.time.Clock (class)">Clock</a></li>
  
</ul>



<h2 class="page-title">
  <span class="type">class</span> lily.time.Clock
</h2>




                <div class="section section-description">
                <div class="section-title">
                  <h3>Description</h3>
                </div> <!-- .section-title -->
                <div class="section-content">

    <p>Helps to track time and limit frame rate.</p>
                </div> <!-- .section-content -->
            </div> <!-- .section -->







  

  





                <div class="section section-constructor">
                <div class="section-title">
                  <h3>Constructor</h3>
                </div> <!-- .section-title -->
                <div class="section-content">

    <p><code><a href="../../../lily/time/Clock/new/index.html" title="new lily.time.Clock (constructor)">new lily.time.Clock</a></code></p>
                </div> <!-- .section-content -->
            </div> <!-- .section -->





  
  
  

  
  
  

  
  
  
                  <div class="section section-instance_methods">
                <div class="section-title">
                  <h3>Instance methods</h3>
                </div> <!-- .section-title -->
                <div class="section-content">

      <ul class="method-list">
        <li><code><a class="instance-method" href="../../../lily/time/Clock/prototype/_tick/index.html" title="lily.time.Clock#_tick (instance method)">_tick</a></code></li>

<li><code><a class="instance-method" href="../../../lily/time/Clock/prototype/changeFPS/index.html" title="lily.time.Clock#changeFPS (instance method)">changeFPS</a></code></li>

<li><code><a class="instance-method" href="../../../lily/time/Clock/prototype/start/index.html" title="lily.time.Clock#start (instance method)">start</a></code></li>

<li><code><a class="instance-method" href="../../../lily/time/Clock/prototype/stop/index.html" title="lily.time.Clock#stop (instance method)">stop</a></code></li>

      </ul>
                  </div> <!-- .section-content -->
            </div> <!-- .section -->

  

  
  
  
                  <div class="section section-instance_properties">
                <div class="section-title">
                  <h3>Instance properties</h3>
                </div> <!-- .section-title -->
                <div class="section-content">

      <ul class="method-list">
        <li><code><a class="instance-property" href="../../../lily/time/Clock/prototype/_updater/index.html" title="lily.time.Clock#_updater (instance property)">_updater</a></code></li>

<li><code><a class="instance-property" href="../../../lily/time/Clock/prototype/fps/index.html" title="lily.time.Clock#fps (instance property)">fps</a></code></li>

<li><code><a class="instance-property" href="../../../lily/time/Clock/prototype/interval/index.html" title="lily.time.Clock#interval (instance property)">interval</a></code></li>

<li><code><a class="instance-property" href="../../../lily/time/Clock/prototype/max_fps/index.html" title="lily.time.Clock#max_fps (instance property)">max_fps</a></code></li>

<li><code><a class="instance-property" href="../../../lily/time/Clock/prototype/onTick/index.html" title="lily.time.Clock#onTick (instance property)">onTick</a></code></li>

      </ul>
                  </div> <!-- .section-content -->
            </div> <!-- .section -->

  

  
  
  

      </div> <!-- #main -->
      
      <div id="footer">
        <p><a href="http://code.google.com/p/gamelily/">Lily -gaming framework-</a> v0.0.1 API documentation.</p>
        <p>
          
            Last updated on September 09, 2010 at 22:23 UTC.
          
          Generated by <a href="http://pdoc.org">PDoc</a>.
          Uses <a href="http://famfamfam.com/lab/icons/silk/" title="famfamfam.com: Silk Icons">Silk Icons</a> and portions of <a href="http://github.com/280north/aristo/tree/master" title="280north's aristo at master - GitHub">Aristo</a>.
        </p>
        
      </div> <!-- #footer -->

    </div> <!-- #page -->
  </body>
</html>
